// SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
// SPDX-License-Identifier: Mulan PSL v2
package entity

const (
	KeyWordTooLong = "搜索关键词过长"

	MsgParamInvalid = "参数不合法"
	MsgSystemError  = "系统错误"

	MsgParamIDInvalid                = "参数错误，请使用正确的ID"
	MsgGetUserInfoError              = "获取用户信息失败"
	MsgNotebookExisted               = "名称为“%s”的Code Studio已经存在"
	MsgVolumeExisted                 = "名称为“%s”的存储已经存在"
	MsgNotebookNotExisted            = "ID为“%s”的Code Studio不存在"
	MsgK8sInClusterConfigFailed      = "连接k8s集群失败"
	MsgReadPodLogFailed              = "读取Pod日志失败"
	MsgNotebookIsRunningCannotDelete = "“%s”正在运行，请停止后再删除"
	MsgK8sFieldInvalid               = "配置不符合kubernetes的资源要求"
	MsgK8sNameFieldInvalid           = `名称不合法，请参考规范: ('[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')`
)
